#include "gtest/gtest.h"
#include "entitymanager.h"
#include "Entities/dummy.h"
#include <memory>
#include <Entities/plant.h>
#include <Skills/typeEnergy.h>
using namespace std;

TEST(gatherPlant, Produce){
    unique_ptr<Game> g(new Game());
    entity::Plant* p = g->entityManager.get<entity::TestPlant>();
    p->learnSkill(new skill::Produce);
    p->setPos(Point(19, 10));
    g->oneRoundRun();
    g->dumpReplay("Produce");
}

